﻿using System;
using System.Web;

namespace PD.Web.Account
{
    /// <summary>
    /// Sign in new page.
    /// </summary>
    public partial class Login : System.Web.UI.Page
    {
        /// <summary>
        /// Handles the Load event of the Page control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        protected void Page_Load(object sender, EventArgs e)
        {
            this.RegisterHyperLink.NavigateUrl = "Register.aspx?ReturnUrl=" + HttpUtility.UrlEncode(this.Request.QueryString["ReturnUrl"]);
        }
    }
}
